package org.net;

import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.net.*;
import java.util.*;
import org.net.Login;

public class ChatWindow {
    private JPanel rootl;
    private JButton button1;

    public ChatWindow() {
        Login.LoginWindow("B");
        //JOptionPane.showMessageDialog(rootl, "你的电脑是我的了!");
        JFrame lframe = new JFrame("ChatWindow");
        lframe.setContentPane(new ChatWindow().rootl);
        lframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        lframe.pack();
        lframe.setVisible(true);
    }
}
